package com.siyu.tickets.manager;

import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.Partner;

public interface PartnerMng {

	public Pagination getPage(String name, Boolean enable, int pageNo, int pageSize);

	public Partner findById(Integer id);

	public Partner registPartner(Partner bean);

	public Partner updatePartner(Partner bean);

	public Partner updateByUpdater(Updater<Partner> updater);

	public Partner deleteById(Integer id);

	public Partner[] deleteByIds(Integer[] ids);

	public Partner[] enableByIds(Integer[] ids, Boolean enable);

}
